﻿using System;

namespace InterfaceWeaver.AopCore
{
    [AttributeUsage(AttributeTargets.Property | AttributeTargets.Interface, AllowMultiple = false, Inherited = false)]
    public sealed class MapCommandAttribute : Attribute
    {
        public Type OwnerType { get; set; }

        public string MethodName { get; set; }

        public Type ParameterType { get; set; }

        public bool HasCanExecute { get; set; }

        public string CanExecuteMethodName { get; set; }
    }
}
